#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019/11/11 下午4:33
# @Author  : yinxin
# @File    : ApiConfig
# @Software: PyCharm


import inspect

from happy_python import HappyConfigBase

from log import hlog


class ListApiConfig(HappyConfigBase):
    """
    配置文件模板
    """

    def __init__(self):
        func_name = "ListApiConfig." + inspect.stack()[0][3]
        hlog.enter_func(func_name)

        super().__init__()

        self.section = "api_config"
        self.source_host = "127.0.0.1"
        self.source_port = 80
        self.source_uri = ""
        self.target_host = "127.0.0.1"
        self.target_port = 80
        self.target_uri = ""

        hlog.var('ListApiConfig.section', self.section)

        hlog.exit_func(func_name)
